package com.beaven.model.data.helper;

import com.beaven.model.model.db.Session;
import com.beaven.model.model.db.Session_Table;
import com.raizlabs.android.dbflow.sql.language.SQLite;

/**
 * author: Beaven
 * time: 2017/5/24 14:27
 */

public class SessionHelper {

  public static Session findFromLocal(String id) {
    return SQLite.select().from(Session.class).where(Session_Table.id.eq(id)).querySingle();
  }
}
